package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 用户表
 */
@Entity
@Table(name = "S_USER")
public class SUserEntity implements Serializable {
	private static final long serialVersionUID = -2151921804148867204L;
	private String id;
	private String true_name;//真实姓名
	private String mphone;//电话
	private String user_name;//用户名
	private String pass_word;//密码
	private Date reg_time;//注册时间
	private Integer active;//0表示正常，1表示删除
	@Id
	@Column(name = "ID", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "TRUE_NAME")
	public String getTrue_name() {
		return true_name;
	}
	public void setTrue_name(String true_name) {
		this.true_name = true_name;
	}
	@Column(name = "MPHONE")
	public String getMphone() {
		return mphone;
	}
	public void setMphone(String mphone) {
		this.mphone = mphone;
	}
	@Column(name = "USER_NAME")
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	@Column(name = "PASS_WORD")
	public String getPass_word() {
		return pass_word;
	}
	public void setPass_word(String pass_word) {
		this.pass_word = pass_word;
	}
	@Column(name = "REG_TIME")
	public Date getReg_time() {
		return reg_time;
	}
	public void setReg_time(Date reg_time) {
		this.reg_time = reg_time;
	}
	@Column(name = "ACTIVE")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
}
